<template>
  <div class="app-container sea-set-wrap">
    <div class="page-header">
      <div class="page-title">
        <span class="title">公海管理</span>
        <i class="el-icon-question title-icon" @click="titleClick"></i>
      </div>
      <div class="header-right">
        <el-button type="primary" @click="addSeaRole">新建公海</el-button>
      </div>
    </div>

    <div style="margin-top: 22px;">
      <el-table :data="tableData" border style="width: 100%" :header-cell-style="{background:'#EFF4FA'}">
        <el-table-column prop="date" label="公海名称" width="180">
        </el-table-column>
        <el-table-column prop="name" label="公海管理员" width="180">
        </el-table-column>
        <el-table-column prop="address" label="公海成员">
        </el-table-column>
        <el-table-column prop="address" label="客户数量">
        </el-table-column>
        <el-table-column prop="address" label="状态">
        </el-table-column>
        <el-table-column fixed="right" label="操作" width="200">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row)" type="text" size="small">停用</el-button>
            <el-button type="text" size="small">转移</el-button>
            <el-button type="text" size="small">编辑</el-button>
            <el-button type="text" size="small">删除</el-button>
          </template>
        </el-table-column>
      </el-table>
    </div>
    <addSeaRole ref="addSeaRole"></addSeaRole>
  </div>
</template>
<script>

import addSeaRole from '@/components/seaRuleManage/addSeaRole.vue'

export default {
  components: { addSeaRole },
  data () {
    return {
      search: "",
      tableData: [],

    };
  },
  mounted () {
    
  },
  methods: {
    addSeaRole () {
      this.$refs.addSeaRole.showFun();
    },
    titleClick(){

    },

  },
};
</script>
<style lang="scss" scoped>
@import "@/assets/styles/custom-tab-serch.scss";

.sea-set-wrap {

  // .f14{
  //     font-size: 14px;
  // }
  .page-header {
    display: flex;
    justify-content: space-between;

    .page-title {
      display: flex;
      align-items: center;

      .title {
        font-weight: 500;
        font-size: 24px;
        color: #172b4d;
      }

      .title-icon {
        color: #42526e;
        cursor: pointer;
        margin-left: 4px;
        font-size: 16px;
      }
    }

    .header-right {
      .more {
        margin-left: 8px;
      }
    }
  }
}
</style>